# for i in 'Hello':
#     print(i,end=",")
# for i in range(100,1000):
#     print(i, end=" ,")
# # # #num = 1
#while num <= 10:
    # print(num,end=" ")
    # num -= 1
    #
    # while True:
    #     print("hello")
#num = int(input("请输入数字"))
#if (num > 0 and num <= 100):
#    print("数字",num,"大于0")
 #   print()
  #  print()
#else:
#  print("数字",num,"小于等于0")
# for i in range(1, 5+1):
#     for j in range(1, i+1):
#         print("*", end=" ")
#     print()
# for i in range(1, 5 + 1):
#     for j in range(5 - i):
#         print(" ", end="")
#     for j in range(2 * i - 1):
#         print("*", end="")
#     print()
# for i in range(1,10,2):
#     print(("*"*i).center(10))
# num = int(input("请输入数字"))
# for i in range(1,num+1,2):
#     print(("*"*i).center(num+1))
# for i in range(num-2,0,2):
#     print(("*"*i).center(num+1))
for i in range(1,5+1):

    for j in range(1,i+1):
        if j == 3:
            break

        print("*", end=" ")
    print()